// Generated from Indicator.g4 by ANTLR 4.13.2
package org.groupg.practice.antlr;
import org.antlr.v4.runtime.atn.*;
import org.antlr.v4.runtime.dfa.DFA;
import org.antlr.v4.runtime.*;
import org.antlr.v4.runtime.misc.*;
import org.antlr.v4.runtime.tree.*;
import java.util.List;
import java.util.Iterator;
import java.util.ArrayList;

@SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast", "CheckReturnValue", "this-escape"})
public class IndicatorParser extends Parser {
	static { RuntimeMetaData.checkVersion("4.13.2", RuntimeMetaData.VERSION); }

	protected static final DFA[] _decisionToDFA;
	protected static final PredictionContextCache _sharedContextCache =
		new PredictionContextCache();
	public static final int
		T__0=1, T__1=2, T__2=3, T__3=4, T__4=5, T__5=6, T__6=7, T__7=8, T__8=9, 
		T__9=10, T__10=11, T__11=12, T__12=13, ID=14, NUMBER=15, NL=16, WS=17;
	public static final int
		RULE_prog = 0, RULE_indicatorRule = 1, RULE_calculationRule = 2, RULE_expr = 3, 
		RULE_interval = 4, RULE_rangePart = 5;
	private static String[] makeRuleNames() {
		return new String[] {
			"prog", "indicatorRule", "calculationRule", "expr", "interval", "rangePart"
		};
	}
	public static final String[] ruleNames = makeRuleNames();

	private static String[] makeLiteralNames() {
		return new String[] {
			null, "'->'", "'\\u8BA1\\u7B97\\u7ED3\\u679C='", "'*'", "'/'", "'+'", 
			"'-'", "'\\u7ED3\\u679C'", "'%'", "'('", "')'", "'['", "','", "']'"
		};
	}
	private static final String[] _LITERAL_NAMES = makeLiteralNames();
	private static String[] makeSymbolicNames() {
		return new String[] {
			null, null, null, null, null, null, null, null, null, null, null, null, 
			null, null, "ID", "NUMBER", "NL", "WS"
		};
	}
	private static final String[] _SYMBOLIC_NAMES = makeSymbolicNames();
	public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES);

	/**
	 * @deprecated Use {@link #VOCABULARY} instead.
	 */
	@Deprecated
	public static final String[] tokenNames;
	static {
		tokenNames = new String[_SYMBOLIC_NAMES.length];
		for (int i = 0; i < tokenNames.length; i++) {
			tokenNames[i] = VOCABULARY.getLiteralName(i);
			if (tokenNames[i] == null) {
				tokenNames[i] = VOCABULARY.getSymbolicName(i);
			}

			if (tokenNames[i] == null) {
				tokenNames[i] = "<INVALID>";
			}
		}
	}

	@Override
	@Deprecated
	public String[] getTokenNames() {
		return tokenNames;
	}

	@Override

	public Vocabulary getVocabulary() {
		return VOCABULARY;
	}

	@Override
	public String getGrammarFileName() { return "Indicator.g4"; }

	@Override
	public String[] getRuleNames() { return ruleNames; }

	@Override
	public String getSerializedATN() { return _serializedATN; }

	@Override
	public ATN getATN() { return _ATN; }

	public IndicatorParser(TokenStream input) {
		super(input);
		_interp = new ParserATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
	}

	@SuppressWarnings("CheckReturnValue")
	public static class ProgContext extends ParserRuleContext {
		public CalculationRuleContext calculationRule() {
			return getRuleContext(CalculationRuleContext.class,0);
		}
		public TerminalNode EOF() { return getToken(IndicatorParser.EOF, 0); }
		public List<IndicatorRuleContext> indicatorRule() {
			return getRuleContexts(IndicatorRuleContext.class);
		}
		public IndicatorRuleContext indicatorRule(int i) {
			return getRuleContext(IndicatorRuleContext.class,i);
		}
		public ProgContext(ParserRuleContext parent, int invokingState) {
			super(parent, invokingState);
		}
		@Override public int getRuleIndex() { return RULE_prog; }
		@Override
		public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
			if ( visitor instanceof IndicatorVisitor ) return ((IndicatorVisitor<? extends T>)visitor).visitProg(this);
			else return visitor.visitChildren(this);
		}
	}

	public final ProgContext prog() throws RecognitionException {
		ProgContext _localctx = new ProgContext(_ctx, getState());
		enterRule(_localctx, 0, RULE_prog);
		int _la;
		try {
			enterOuterAlt(_localctx, 1);
			{
			setState(13); 
			_errHandler.sync(this);
			_la = _input.LA(1);
			do {
				{
				{
				setState(12);
				indicatorRule();
				}
				}
				setState(15); 
				_errHandler.sync(this);
				_la = _input.LA(1);
			} while ( _la==ID );
			setState(17);
			calculationRule();
			setState(18);
			match(EOF);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			_errHandler.reportError(this, re);
			_errHandler.recover(this, re);
		}
		finally {
			exitRule();
		}
		return _localctx;
	}

	@SuppressWarnings("CheckReturnValue")
	public static class IndicatorRuleContext extends ParserRuleContext {
		public TerminalNode ID() { return getToken(IndicatorParser.ID, 0); }
		public IntervalContext interval() {
			return getRuleContext(IntervalContext.class,0);
		}
		public TerminalNode NUMBER() { return getToken(IndicatorParser.NUMBER, 0); }
		public TerminalNode NL() { return getToken(IndicatorParser.NL, 0); }
		public IndicatorRuleContext(ParserRuleContext parent, int invokingState) {
			super(parent, invokingState);
		}
		@Override public int getRuleIndex() { return RULE_indicatorRule; }
		@Override
		public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
			if ( visitor instanceof IndicatorVisitor ) return ((IndicatorVisitor<? extends T>)visitor).visitIndicatorRule(this);
			else return visitor.visitChildren(this);
		}
	}

	public final IndicatorRuleContext indicatorRule() throws RecognitionException {
		IndicatorRuleContext _localctx = new IndicatorRuleContext(_ctx, getState());
		enterRule(_localctx, 2, RULE_indicatorRule);
		try {
			enterOuterAlt(_localctx, 1);
			{
			setState(20);
			match(ID);
			setState(21);
			match(T__0);
			setState(22);
			interval();
			setState(23);
			match(T__0);
			setState(24);
			match(NUMBER);
			setState(25);
			match(NL);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			_errHandler.reportError(this, re);
			_errHandler.recover(this, re);
		}
		finally {
			exitRule();
		}
		return _localctx;
	}

	@SuppressWarnings("CheckReturnValue")
	public static class CalculationRuleContext extends ParserRuleContext {
		public ExprContext expr() {
			return getRuleContext(ExprContext.class,0);
		}
		public TerminalNode NL() { return getToken(IndicatorParser.NL, 0); }
		public CalculationRuleContext(ParserRuleContext parent, int invokingState) {
			super(parent, invokingState);
		}
		@Override public int getRuleIndex() { return RULE_calculationRule; }
		@Override
		public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
			if ( visitor instanceof IndicatorVisitor ) return ((IndicatorVisitor<? extends T>)visitor).visitCalculationRule(this);
			else return visitor.visitChildren(this);
		}
	}

	public final CalculationRuleContext calculationRule() throws RecognitionException {
		CalculationRuleContext _localctx = new CalculationRuleContext(_ctx, getState());
		enterRule(_localctx, 4, RULE_calculationRule);
		try {
			enterOuterAlt(_localctx, 1);
			{
			setState(27);
			match(T__1);
			setState(28);
			expr(0);
			setState(29);
			match(NL);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			_errHandler.reportError(this, re);
			_errHandler.recover(this, re);
		}
		finally {
			exitRule();
		}
		return _localctx;
	}

	@SuppressWarnings("CheckReturnValue")
	public static class ExprContext extends ParserRuleContext {
		public ExprContext(ParserRuleContext parent, int invokingState) {
			super(parent, invokingState);
		}
		@Override public int getRuleIndex() { return RULE_expr; }
	 
		public ExprContext() { }
		public void copyFrom(ExprContext ctx) {
			super.copyFrom(ctx);
		}
	}
	@SuppressWarnings("CheckReturnValue")
	public static class VarRefContext extends ExprContext {
		public TerminalNode ID() { return getToken(IndicatorParser.ID, 0); }
		public VarRefContext(ExprContext ctx) { copyFrom(ctx); }
		@Override
		public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
			if ( visitor instanceof IndicatorVisitor ) return ((IndicatorVisitor<? extends T>)visitor).visitVarRef(this);
			else return visitor.visitChildren(this);
		}
	}
	@SuppressWarnings("CheckReturnValue")
	public static class MulDivExprContext extends ExprContext {
		public List<ExprContext> expr() {
			return getRuleContexts(ExprContext.class);
		}
		public ExprContext expr(int i) {
			return getRuleContext(ExprContext.class,i);
		}
		public MulDivExprContext(ExprContext ctx) { copyFrom(ctx); }
		@Override
		public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
			if ( visitor instanceof IndicatorVisitor ) return ((IndicatorVisitor<? extends T>)visitor).visitMulDivExpr(this);
			else return visitor.visitChildren(this);
		}
	}
	@SuppressWarnings("CheckReturnValue")
	public static class NumberContext extends ExprContext {
		public TerminalNode NUMBER() { return getToken(IndicatorParser.NUMBER, 0); }
		public NumberContext(ExprContext ctx) { copyFrom(ctx); }
		@Override
		public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
			if ( visitor instanceof IndicatorVisitor ) return ((IndicatorVisitor<? extends T>)visitor).visitNumber(this);
			else return visitor.visitChildren(this);
		}
	}
	@SuppressWarnings("CheckReturnValue")
	public static class PercentExprContext extends ExprContext {
		public TerminalNode NUMBER() { return getToken(IndicatorParser.NUMBER, 0); }
		public PercentExprContext(ExprContext ctx) { copyFrom(ctx); }
		@Override
		public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
			if ( visitor instanceof IndicatorVisitor ) return ((IndicatorVisitor<? extends T>)visitor).visitPercentExpr(this);
			else return visitor.visitChildren(this);
		}
	}
	@SuppressWarnings("CheckReturnValue")
	public static class ParenExprContext extends ExprContext {
		public ExprContext expr() {
			return getRuleContext(ExprContext.class,0);
		}
		public ParenExprContext(ExprContext ctx) { copyFrom(ctx); }
		@Override
		public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
			if ( visitor instanceof IndicatorVisitor ) return ((IndicatorVisitor<? extends T>)visitor).visitParenExpr(this);
			else return visitor.visitChildren(this);
		}
	}
	@SuppressWarnings("CheckReturnValue")
	public static class AddSubExprContext extends ExprContext {
		public List<ExprContext> expr() {
			return getRuleContexts(ExprContext.class);
		}
		public ExprContext expr(int i) {
			return getRuleContext(ExprContext.class,i);
		}
		public AddSubExprContext(ExprContext ctx) { copyFrom(ctx); }
		@Override
		public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
			if ( visitor instanceof IndicatorVisitor ) return ((IndicatorVisitor<? extends T>)visitor).visitAddSubExpr(this);
			else return visitor.visitChildren(this);
		}
	}

	public final ExprContext expr() throws RecognitionException {
		return expr(0);
	}

	private ExprContext expr(int _p) throws RecognitionException {
		ParserRuleContext _parentctx = _ctx;
		int _parentState = getState();
		ExprContext _localctx = new ExprContext(_ctx, _parentState);
		ExprContext _prevctx = _localctx;
		int _startState = 6;
		enterRecursionRule(_localctx, 6, RULE_expr, _p);
		int _la;
		try {
			int _alt;
			enterOuterAlt(_localctx, 1);
			{
			setState(41);
			_errHandler.sync(this);
			switch ( getInterpreter().adaptivePredict(_input,1,_ctx) ) {
			case 1:
				{
				_localctx = new VarRefContext(_localctx);
				_ctx = _localctx;
				_prevctx = _localctx;

				setState(32);
				match(ID);
				setState(33);
				match(T__6);
				}
				break;
			case 2:
				{
				_localctx = new PercentExprContext(_localctx);
				_ctx = _localctx;
				_prevctx = _localctx;
				setState(34);
				match(NUMBER);
				setState(35);
				match(T__7);
				}
				break;
			case 3:
				{
				_localctx = new ParenExprContext(_localctx);
				_ctx = _localctx;
				_prevctx = _localctx;
				setState(36);
				match(T__8);
				setState(37);
				expr(0);
				setState(38);
				match(T__9);
				}
				break;
			case 4:
				{
				_localctx = new NumberContext(_localctx);
				_ctx = _localctx;
				_prevctx = _localctx;
				setState(40);
				match(NUMBER);
				}
				break;
			}
			_ctx.stop = _input.LT(-1);
			setState(51);
			_errHandler.sync(this);
			_alt = getInterpreter().adaptivePredict(_input,3,_ctx);
			while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
				if ( _alt==1 ) {
					if ( _parseListeners!=null ) triggerExitRuleEvent();
					_prevctx = _localctx;
					{
					setState(49);
					_errHandler.sync(this);
					switch ( getInterpreter().adaptivePredict(_input,2,_ctx) ) {
					case 1:
						{
						_localctx = new MulDivExprContext(new ExprContext(_parentctx, _parentState));
						pushNewRecursionContext(_localctx, _startState, RULE_expr);
						setState(43);
						if (!(precpred(_ctx, 6))) throw new FailedPredicateException(this, "precpred(_ctx, 6)");
						setState(44);
						_la = _input.LA(1);
						if ( !(_la==T__2 || _la==T__3) ) {
						_errHandler.recoverInline(this);
						}
						else {
							if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
							_errHandler.reportMatch(this);
							consume();
						}
						setState(45);
						expr(7);
						}
						break;
					case 2:
						{
						_localctx = new AddSubExprContext(new ExprContext(_parentctx, _parentState));
						pushNewRecursionContext(_localctx, _startState, RULE_expr);
						setState(46);
						if (!(precpred(_ctx, 5))) throw new FailedPredicateException(this, "precpred(_ctx, 5)");
						setState(47);
						_la = _input.LA(1);
						if ( !(_la==T__4 || _la==T__5) ) {
						_errHandler.recoverInline(this);
						}
						else {
							if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
							_errHandler.reportMatch(this);
							consume();
						}
						setState(48);
						expr(6);
						}
						break;
					}
					} 
				}
				setState(53);
				_errHandler.sync(this);
				_alt = getInterpreter().adaptivePredict(_input,3,_ctx);
			}
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			_errHandler.reportError(this, re);
			_errHandler.recover(this, re);
		}
		finally {
			unrollRecursionContexts(_parentctx);
		}
		return _localctx;
	}

	@SuppressWarnings("CheckReturnValue")
	public static class IntervalContext extends ParserRuleContext {
		public IntervalContext(ParserRuleContext parent, int invokingState) {
			super(parent, invokingState);
		}
		@Override public int getRuleIndex() { return RULE_interval; }
	 
		public IntervalContext() { }
		public void copyFrom(IntervalContext ctx) {
			super.copyFrom(ctx);
		}
	}
	@SuppressWarnings("CheckReturnValue")
	public static class FullRangeIntervalContext extends IntervalContext {
		public FullRangeIntervalContext(IntervalContext ctx) { copyFrom(ctx); }
		@Override
		public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
			if ( visitor instanceof IndicatorVisitor ) return ((IndicatorVisitor<? extends T>)visitor).visitFullRangeInterval(this);
			else return visitor.visitChildren(this);
		}
	}
	@SuppressWarnings("CheckReturnValue")
	public static class OpenOpenIntervalContext extends IntervalContext {
		public RangePartContext left;
		public RangePartContext right;
		public List<RangePartContext> rangePart() {
			return getRuleContexts(RangePartContext.class);
		}
		public RangePartContext rangePart(int i) {
			return getRuleContext(RangePartContext.class,i);
		}
		public OpenOpenIntervalContext(IntervalContext ctx) { copyFrom(ctx); }
		@Override
		public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
			if ( visitor instanceof IndicatorVisitor ) return ((IndicatorVisitor<? extends T>)visitor).visitOpenOpenInterval(this);
			else return visitor.visitChildren(this);
		}
	}
	@SuppressWarnings("CheckReturnValue")
	public static class OpenClosedIntervalContext extends IntervalContext {
		public RangePartContext left;
		public RangePartContext right;
		public List<RangePartContext> rangePart() {
			return getRuleContexts(RangePartContext.class);
		}
		public RangePartContext rangePart(int i) {
			return getRuleContext(RangePartContext.class,i);
		}
		public OpenClosedIntervalContext(IntervalContext ctx) { copyFrom(ctx); }
		@Override
		public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
			if ( visitor instanceof IndicatorVisitor ) return ((IndicatorVisitor<? extends T>)visitor).visitOpenClosedInterval(this);
			else return visitor.visitChildren(this);
		}
	}
	@SuppressWarnings("CheckReturnValue")
	public static class ClosedOpenIntervalContext extends IntervalContext {
		public RangePartContext left;
		public RangePartContext right;
		public List<RangePartContext> rangePart() {
			return getRuleContexts(RangePartContext.class);
		}
		public RangePartContext rangePart(int i) {
			return getRuleContext(RangePartContext.class,i);
		}
		public ClosedOpenIntervalContext(IntervalContext ctx) { copyFrom(ctx); }
		@Override
		public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
			if ( visitor instanceof IndicatorVisitor ) return ((IndicatorVisitor<? extends T>)visitor).visitClosedOpenInterval(this);
			else return visitor.visitChildren(this);
		}
	}
	@SuppressWarnings("CheckReturnValue")
	public static class ClosedClosedIntervalContext extends IntervalContext {
		public RangePartContext left;
		public RangePartContext right;
		public List<RangePartContext> rangePart() {
			return getRuleContexts(RangePartContext.class);
		}
		public RangePartContext rangePart(int i) {
			return getRuleContext(RangePartContext.class,i);
		}
		public ClosedClosedIntervalContext(IntervalContext ctx) { copyFrom(ctx); }
		@Override
		public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
			if ( visitor instanceof IndicatorVisitor ) return ((IndicatorVisitor<? extends T>)visitor).visitClosedClosedInterval(this);
			else return visitor.visitChildren(this);
		}
	}

	public final IntervalContext interval() throws RecognitionException {
		IntervalContext _localctx = new IntervalContext(_ctx, getState());
		enterRule(_localctx, 8, RULE_interval);
		try {
			setState(83);
			_errHandler.sync(this);
			switch ( getInterpreter().adaptivePredict(_input,4,_ctx) ) {
			case 1:
				_localctx = new ClosedClosedIntervalContext(_localctx);
				enterOuterAlt(_localctx, 1);
				{
				setState(54);
				match(T__10);
				setState(55);
				((ClosedClosedIntervalContext)_localctx).left = rangePart();
				setState(56);
				match(T__11);
				setState(57);
				((ClosedClosedIntervalContext)_localctx).right = rangePart();
				setState(58);
				match(T__12);
				}
				break;
			case 2:
				_localctx = new ClosedOpenIntervalContext(_localctx);
				enterOuterAlt(_localctx, 2);
				{
				setState(60);
				match(T__10);
				setState(61);
				((ClosedOpenIntervalContext)_localctx).left = rangePart();
				setState(62);
				match(T__11);
				setState(63);
				((ClosedOpenIntervalContext)_localctx).right = rangePart();
				setState(64);
				match(T__9);
				}
				break;
			case 3:
				_localctx = new OpenClosedIntervalContext(_localctx);
				enterOuterAlt(_localctx, 3);
				{
				setState(66);
				match(T__8);
				setState(67);
				((OpenClosedIntervalContext)_localctx).left = rangePart();
				setState(68);
				match(T__11);
				setState(69);
				((OpenClosedIntervalContext)_localctx).right = rangePart();
				setState(70);
				match(T__12);
				}
				break;
			case 4:
				_localctx = new OpenOpenIntervalContext(_localctx);
				enterOuterAlt(_localctx, 4);
				{
				setState(72);
				match(T__8);
				setState(73);
				((OpenOpenIntervalContext)_localctx).left = rangePart();
				setState(74);
				match(T__11);
				setState(75);
				((OpenOpenIntervalContext)_localctx).right = rangePart();
				setState(76);
				match(T__9);
				}
				break;
			case 5:
				_localctx = new FullRangeIntervalContext(_localctx);
				enterOuterAlt(_localctx, 5);
				{
				setState(78);
				match(T__10);
				setState(79);
				match(T__5);
				setState(80);
				match(T__11);
				setState(81);
				match(T__4);
				setState(82);
				match(T__12);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			_errHandler.reportError(this, re);
			_errHandler.recover(this, re);
		}
		finally {
			exitRule();
		}
		return _localctx;
	}

	@SuppressWarnings("CheckReturnValue")
	public static class RangePartContext extends ParserRuleContext {
		public RangePartContext(ParserRuleContext parent, int invokingState) {
			super(parent, invokingState);
		}
		@Override public int getRuleIndex() { return RULE_rangePart; }
	 
		public RangePartContext() { }
		public void copyFrom(RangePartContext ctx) {
			super.copyFrom(ctx);
		}
	}
	@SuppressWarnings("CheckReturnValue")
	public static class NegInfinityContext extends RangePartContext {
		public NegInfinityContext(RangePartContext ctx) { copyFrom(ctx); }
		@Override
		public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
			if ( visitor instanceof IndicatorVisitor ) return ((IndicatorVisitor<? extends T>)visitor).visitNegInfinity(this);
			else return visitor.visitChildren(this);
		}
	}
	@SuppressWarnings("CheckReturnValue")
	public static class PosInfinityContext extends RangePartContext {
		public PosInfinityContext(RangePartContext ctx) { copyFrom(ctx); }
		@Override
		public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
			if ( visitor instanceof IndicatorVisitor ) return ((IndicatorVisitor<? extends T>)visitor).visitPosInfinity(this);
			else return visitor.visitChildren(this);
		}
	}
	@SuppressWarnings("CheckReturnValue")
	public static class NumberBoundContext extends RangePartContext {
		public TerminalNode NUMBER() { return getToken(IndicatorParser.NUMBER, 0); }
		public NumberBoundContext(RangePartContext ctx) { copyFrom(ctx); }
		@Override
		public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
			if ( visitor instanceof IndicatorVisitor ) return ((IndicatorVisitor<? extends T>)visitor).visitNumberBound(this);
			else return visitor.visitChildren(this);
		}
	}

	public final RangePartContext rangePart() throws RecognitionException {
		RangePartContext _localctx = new RangePartContext(_ctx, getState());
		enterRule(_localctx, 10, RULE_rangePart);
		try {
			setState(88);
			_errHandler.sync(this);
			switch (_input.LA(1)) {
			case NUMBER:
				_localctx = new NumberBoundContext(_localctx);
				enterOuterAlt(_localctx, 1);
				{
				setState(85);
				match(NUMBER);
				}
				break;
			case T__5:
				_localctx = new NegInfinityContext(_localctx);
				enterOuterAlt(_localctx, 2);
				{
				setState(86);
				match(T__5);
				}
				break;
			case T__4:
				_localctx = new PosInfinityContext(_localctx);
				enterOuterAlt(_localctx, 3);
				{
				setState(87);
				match(T__4);
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			_errHandler.reportError(this, re);
			_errHandler.recover(this, re);
		}
		finally {
			exitRule();
		}
		return _localctx;
	}

	public boolean sempred(RuleContext _localctx, int ruleIndex, int predIndex) {
		switch (ruleIndex) {
		case 3:
			return expr_sempred((ExprContext)_localctx, predIndex);
		}
		return true;
	}
	private boolean expr_sempred(ExprContext _localctx, int predIndex) {
		switch (predIndex) {
		case 0:
			return precpred(_ctx, 6);
		case 1:
			return precpred(_ctx, 5);
		}
		return true;
	}

	public static final String _serializedATN =
		"\u0004\u0001\u0011[\u0002\u0000\u0007\u0000\u0002\u0001\u0007\u0001\u0002"+
		"\u0002\u0007\u0002\u0002\u0003\u0007\u0003\u0002\u0004\u0007\u0004\u0002"+
		"\u0005\u0007\u0005\u0001\u0000\u0004\u0000\u000e\b\u0000\u000b\u0000\f"+
		"\u0000\u000f\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0001\u0001\u0001"+
		"\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0002"+
		"\u0001\u0002\u0001\u0002\u0001\u0002\u0001\u0003\u0001\u0003\u0001\u0003"+
		"\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003"+
		"\u0001\u0003\u0003\u0003*\b\u0003\u0001\u0003\u0001\u0003\u0001\u0003"+
		"\u0001\u0003\u0001\u0003\u0001\u0003\u0005\u00032\b\u0003\n\u0003\f\u0003"+
		"5\t\u0003\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004"+
		"\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004"+
		"\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004"+
		"\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004"+
		"\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004"+
		"\u0003\u0004T\b\u0004\u0001\u0005\u0001\u0005\u0001\u0005\u0003\u0005"+
		"Y\b\u0005\u0001\u0005\u0000\u0001\u0006\u0006\u0000\u0002\u0004\u0006"+
		"\b\n\u0000\u0002\u0001\u0000\u0003\u0004\u0001\u0000\u0005\u0006`\u0000"+
		"\r\u0001\u0000\u0000\u0000\u0002\u0014\u0001\u0000\u0000\u0000\u0004\u001b"+
		"\u0001\u0000\u0000\u0000\u0006)\u0001\u0000\u0000\u0000\bS\u0001\u0000"+
		"\u0000\u0000\nX\u0001\u0000\u0000\u0000\f\u000e\u0003\u0002\u0001\u0000"+
		"\r\f\u0001\u0000\u0000\u0000\u000e\u000f\u0001\u0000\u0000\u0000\u000f"+
		"\r\u0001\u0000\u0000\u0000\u000f\u0010\u0001\u0000\u0000\u0000\u0010\u0011"+
		"\u0001\u0000\u0000\u0000\u0011\u0012\u0003\u0004\u0002\u0000\u0012\u0013"+
		"\u0005\u0000\u0000\u0001\u0013\u0001\u0001\u0000\u0000\u0000\u0014\u0015"+
		"\u0005\u000e\u0000\u0000\u0015\u0016\u0005\u0001\u0000\u0000\u0016\u0017"+
		"\u0003\b\u0004\u0000\u0017\u0018\u0005\u0001\u0000\u0000\u0018\u0019\u0005"+
		"\u000f\u0000\u0000\u0019\u001a\u0005\u0010\u0000\u0000\u001a\u0003\u0001"+
		"\u0000\u0000\u0000\u001b\u001c\u0005\u0002\u0000\u0000\u001c\u001d\u0003"+
		"\u0006\u0003\u0000\u001d\u001e\u0005\u0010\u0000\u0000\u001e\u0005\u0001"+
		"\u0000\u0000\u0000\u001f \u0006\u0003\uffff\uffff\u0000 !\u0005\u000e"+
		"\u0000\u0000!*\u0005\u0007\u0000\u0000\"#\u0005\u000f\u0000\u0000#*\u0005"+
		"\b\u0000\u0000$%\u0005\t\u0000\u0000%&\u0003\u0006\u0003\u0000&\'\u0005"+
		"\n\u0000\u0000\'*\u0001\u0000\u0000\u0000(*\u0005\u000f\u0000\u0000)\u001f"+
		"\u0001\u0000\u0000\u0000)\"\u0001\u0000\u0000\u0000)$\u0001\u0000\u0000"+
		"\u0000)(\u0001\u0000\u0000\u0000*3\u0001\u0000\u0000\u0000+,\n\u0006\u0000"+
		"\u0000,-\u0007\u0000\u0000\u0000-2\u0003\u0006\u0003\u0007./\n\u0005\u0000"+
		"\u0000/0\u0007\u0001\u0000\u000002\u0003\u0006\u0003\u00061+\u0001\u0000"+
		"\u0000\u00001.\u0001\u0000\u0000\u000025\u0001\u0000\u0000\u000031\u0001"+
		"\u0000\u0000\u000034\u0001\u0000\u0000\u00004\u0007\u0001\u0000\u0000"+
		"\u000053\u0001\u0000\u0000\u000067\u0005\u000b\u0000\u000078\u0003\n\u0005"+
		"\u000089\u0005\f\u0000\u00009:\u0003\n\u0005\u0000:;\u0005\r\u0000\u0000"+
		";T\u0001\u0000\u0000\u0000<=\u0005\u000b\u0000\u0000=>\u0003\n\u0005\u0000"+
		">?\u0005\f\u0000\u0000?@\u0003\n\u0005\u0000@A\u0005\n\u0000\u0000AT\u0001"+
		"\u0000\u0000\u0000BC\u0005\t\u0000\u0000CD\u0003\n\u0005\u0000DE\u0005"+
		"\f\u0000\u0000EF\u0003\n\u0005\u0000FG\u0005\r\u0000\u0000GT\u0001\u0000"+
		"\u0000\u0000HI\u0005\t\u0000\u0000IJ\u0003\n\u0005\u0000JK\u0005\f\u0000"+
		"\u0000KL\u0003\n\u0005\u0000LM\u0005\n\u0000\u0000MT\u0001\u0000\u0000"+
		"\u0000NO\u0005\u000b\u0000\u0000OP\u0005\u0006\u0000\u0000PQ\u0005\f\u0000"+
		"\u0000QR\u0005\u0005\u0000\u0000RT\u0005\r\u0000\u0000S6\u0001\u0000\u0000"+
		"\u0000S<\u0001\u0000\u0000\u0000SB\u0001\u0000\u0000\u0000SH\u0001\u0000"+
		"\u0000\u0000SN\u0001\u0000\u0000\u0000T\t\u0001\u0000\u0000\u0000UY\u0005"+
		"\u000f\u0000\u0000VY\u0005\u0006\u0000\u0000WY\u0005\u0005\u0000\u0000"+
		"XU\u0001\u0000\u0000\u0000XV\u0001\u0000\u0000\u0000XW\u0001\u0000\u0000"+
		"\u0000Y\u000b\u0001\u0000\u0000\u0000\u0006\u000f)13SX";
	public static final ATN _ATN =
		new ATNDeserializer().deserialize(_serializedATN.toCharArray());
	static {
		_decisionToDFA = new DFA[_ATN.getNumberOfDecisions()];
		for (int i = 0; i < _ATN.getNumberOfDecisions(); i++) {
			_decisionToDFA[i] = new DFA(_ATN.getDecisionState(i), i);
		}
	}
}